package com.piaodekuai.flight.pojo;

import java.io.Serializable;
import java.util.Date;

public class Integral implements Serializable {
    private Integer integralId;

    private String integralNumber;

    private Integer sum;

    private String source;

    private Date cInitialDate;

    private Date cEndDate;

    private static final long serialVersionUID = 1L;

    public Integer getIntegralId() {
        return integralId;
    }

    public void setIntegralId(Integer integralId) {
        this.integralId = integralId;
    }

    public String getIntegralNumber() {
        return integralNumber;
    }

    public void setIntegralNumber(String integralNumber) {
        this.integralNumber = integralNumber == null ? null : integralNumber.trim();
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Date getcInitialDate() {
        return cInitialDate;
    }

    public void setcInitialDate(Date cInitialDate) {
        this.cInitialDate = cInitialDate;
    }

    public Date getcEndDate() {
        return cEndDate;
    }

    public void setcEndDate(Date cEndDate) {
        this.cEndDate = cEndDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", integralId=").append(integralId);
        sb.append(", integralNumber=").append(integralNumber);
        sb.append(", sum=").append(sum);
        sb.append(", source=").append(source);
        sb.append(", cInitialDate=").append(cInitialDate);
        sb.append(", cEndDate=").append(cEndDate);
        sb.append("]");
        return sb.toString();
    }
}